package com.sann.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

//@Configuration// 表明这是一个配置类-取代bean.xml配置文件
@ComponentScan({"com.sann.spring"})// 表明自动扫描哪些包下配置了注解
@Import(JdbcConfiguration.class)// 表明引入一个子配置类
@PropertySource("classpath:mysql.properties")
public class SpringConfiguration {



}
